﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="v_cartorder.ascx.cs" Inherits="administrator_uc_admin_v_cartorder" %>
<%@ Register src="~/administrator/uc_admin/mn_edit.ascx" tagname="mn_edit" tagprefix="uc1" %>
<%@ Register Assembly="CKEditor.NET" Namespace="CKEditor.NET" TagPrefix="CKEditor" %>

<asp:Panel ID="PanelView" runat="server">
<table cellspacing="1" class="classtable">
    <tr>
        <td class="classtitle" colspan="2">
        CHI TIẾT
        </td>
    </tr>
    <tr>
        <td class="classmessage" colspan="2">
            <asp:Label ID="lblMessageView" runat="server"></asp:Label>
        </td>
    </tr>
    <tr>
        <td class="classcolleft">
            Mã đơn hàng:</td>
        <td class="classcolright">
            <asp:Literal ID="ltOrderID" runat="server"></asp:Literal>
        </td>
    </tr>
    <tr>
        <td class="classcolleft">
            Khách hàng:</td>
        <td class="classcolright">
            <asp:Literal ID="ltSender" runat="server"></asp:Literal>
        </td>
    </tr>
    <tr>
        <td class="classcolleft">
            Email:</td>
        <td class="classcolright">
            <asp:Literal ID="ltEmail" runat="server"></asp:Literal>
        </td>
    </tr>
    <tr>
        <td class="classcolleft">
            Điện thoại:</td>
        <td class="classcolright">
            <asp:Literal ID="ltPhone" runat="server"></asp:Literal>
        </td>
    </tr>
     
    <tr>
        <td class="classcolleft">
            Địa chỉ:</td>
        <td class="classcolright">
            <asp:Literal ID="lt_Address" runat="server"></asp:Literal>
        </td>
    </tr>
    <tr>
        <td class="classcolleft">
            Ngày tạo:</td>
        <td class="classcolright">
            <asp:Literal ID="ltCreated" runat="server"></asp:Literal>
        </td>
    </tr>   
    <tr>
        <td class="classcolleft">
           Chi tiết đơn hàng:</td>
        <td class="classcolright">
             <asp:Literal ID = "ltr_Orderdetail" runat ="server"></asp:Literal>
        </td>
    </tr>       

    <tr>
        <td class="classcolleft">
           Trạng thái:</td>
        <td class="classcolright">
          <b><asp:Literal ID = "lt_Status" runat ="server"></asp:Literal></b>   
        </td>
    </tr>       

    <tr>
        <td class="classcolleft">
            &nbsp;</td>
        <td class="classcolright">
            <%--<script language="javascript">
                function CallFuncEditItem() {
                    document.getElementById('<%= btnEditItem.ClientID%>').click();
                }	
            </script>
            <uc1:mn_edit ID="mn_edit" runat="server" /> 
            <asp:Button ID="btnEditItem" runat="server" CssClass="featurehidden" onclick="btnEditItem_Click" />--%>
            <asp:LinkButton ID="lbtCloseFormView" runat="server" 
                OnClientClick="javascript:window.close();" CausesValidation="False">
            <img src="../images/icons/icon_close.jpg" border="0px" /><b>Đóng Lại</b>
            </asp:LinkButton>
         </td>
    </tr>
</table>
</asp:Panel>

<%--<asp:Panel ID="PanelEdit" runat="server">
<table cellspacing="1" class="classtable">
    <tr>
        <td class="classtitle" colspan="2">
        CẬP NHẬT
        </td>
    </tr>
    <tr>
        <td class="classmessage" colspan="2">
            <asp:Label ID="lblMessageEdit" runat="server"></asp:Label>
            <asp:HiddenField ID="hdItemID" runat="server" />
        </td>
    </tr>
    <tr>
        <td class="classcolleft">
            Họ tên:</td>
        <td class="classcolright">
            <asp:TextBox ID="txtSender" runat="server" Width="300px"></asp:TextBox>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                ControlToValidate="txtSender" ErrorMessage="(*)"></asp:RequiredFieldValidator>
        </td>
    </tr> <tr>
        <td class="classcolleft">
            Email:</td>
        <td class="classcolright">
            <asp:TextBox ID="txtEmail" runat="server" Width="300px"></asp:TextBox>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                ControlToValidate="txtEmail" ErrorMessage="(*)"></asp:RequiredFieldValidator>
        </td>
    </tr> <tr>
        <td class="classcolleft">
            Điện thoại:</td>
        <td class="classcolright">
            <asp:TextBox ID="txtPhone" runat="server" Width="300px"></asp:TextBox>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" 
                ControlToValidate="txtPhone" ErrorMessage="(*)"></asp:RequiredFieldValidator>
        </td>
    </tr> 
    <tr>
        <td class="classcolleft">
            Tiêu đề:</td>
        <td class="classcolright">
            <asp:TextBox ID="txtTitle" runat="server" Width="300px"></asp:TextBox>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
                ControlToValidate="txtTitle" ErrorMessage="(*)"></asp:RequiredFieldValidator>
        </td>
    </tr> 
    <tr>
        <td class="classcolleft">
            Nội dung:</td>
        <td class="classcolright">
            <CKEditor:CKEditorControl ID="CKEditorBody" Toolbar="Full" runat="server" Height="220px"></CKEditor:CKEditorControl>            
        </td>
    </tr>      
    <tr>
        <td class="classcolleft">
            &nbsp;</td>
        <td class="classcolright">
            <asp:LinkButton ID="lbtUpdateItem" runat="server" onclick="lbtUpdateItem_Click">
            <img src="../images/icons/icon_edit.png" border="0px" /> <b>Cập Nhật</b>
            </asp:LinkButton>
            ||
            <asp:LinkButton ID="lbtCloseFormEdit" runat="server" 
                OnClientClick="javascript:CloseWindows();" CausesValidation="False">
            <img src="../images/icons/icon_close.jpg" border="0px" /><b>Đóng Lại</b>
            </asp:LinkButton>
         </td>
    </tr>
</table>
</asp:Panel>--%>

